<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/fmt" prefix="fmt" %>
<%@ taglib uri="/tags/core" prefix="c" %>
<logic:present name="ERROR_MESSAGE">
	<p align="center" class="errortext">
		<bean:write name="ERROR_MESSAGE"  scope="session"/>
		<% session.removeAttribute("ERROR_MESSAGE");%>
	</p>
</logic:present>
<logic:present name="MESSAGE">
	<p align="center" class="infomessage">
		<bean:write name="MESSAGE"/>
		<% session.removeAttribute("MESSAGE"); %>
	</p>
</logic:present>
<logic:present name="ERROR_MESSAGE_LIST">
	<p align="center" class="errortext">
		<c:forEach items="${ERROR_MESSAGE_LIST}" var="error">
			<c:out value="${error}" /><br/>
		</c:forEach>	
		<% session.removeAttribute("ERROR_MESSAGE_LIST");%>
	</p>
</logic:present>
<logic:present name="MESSAGE_LIST">
	<p align="center" class="infomessage">
		<c:forEach items="${MESSAGE_LIST}" var="message">
			<c:out value="${message}" /><br/>
		</c:forEach>	
		<% session.removeAttribute("MESSAGE_LIST");%>
	</p>
</logic:present>